/* character.h
 * This file contains function stubs for character creation/deletion/etc
 * as well as class definition for a character.
 */


/* 
 * Preproccessor defines for trait related values
 * NOTE: For "max" predefines, possible values for the pertinent
 *       trait variable range from 0 to (MAX - 1) 
 */

#define HCMAX     5      //number of unique hair colors 
#define HTMAX     5      //number of unique hair types
#define RMAX      5      //number of unique races
#define NAMEMAX   32     //max characters in a name

//struct to pass input from command line parser to given function.
struct input
{
  //character creation variables
  int hairColor;
  int hairType;
  int race;
  char *name;
};

//function to set all values in the struct to zero
int zeroInput(struct input *input);

class character
{  
  //variables

  char *name;        //name of character, can be random, can be provided

  int charID;        //unique ID to specify character (may not be necessary)
  int hairColor;     
  int hairType;
  int race;

  //methods

  //initializes character with given input struct
 public:
  int initialize (struct input *input);
  void print ();


}; 
